home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7221 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  29 lines

  1. Newsgroups: comp.lang.c
  2. Path: cwi.nl!dik
  3. From: dik@cwi.nl (Dik T. Winter)
  4. Subject: Re: Tough FACTORIAL math problem...
  5. Message-ID: <DMvLz7.I1z@cwi.nl>
  6. Sender: news@cwi.nl (The Daily Dross)
  7. Nntp-Posting-Host: chrysant.cwi.nl
  8. Organization: CWI, Amsterdam
  9. References: <4fv74c$chq@gatekeeper.alcatel.no> <4fvgbu$kmb@winx03.informatik.uni-wuerzburg.de> <4g250f$3ve@antares.dfma.com>
  10. Date: Fri, 16 Feb 1996 16:04:19 GMT
  11.  
  12. In article <4g250f$3ve@antares.dfma.com> johnb@dfma.com (John Breckenridge) writes:
  13.  > schoof@informatik.uni-wuerzburg.de (Jochen Schoof) wrote:
  14.  > >                                             If two numbers of at least 
  15.  > >two digits have no zeroes in their rightmost digit, the two rightmost
  16.  > >digits of their product cannot both be zero and are determined from the
  17.  > >two rightmost digits of the two numbers.
  18.  > 
  19.  > 16 * 25 = 400
  20.  
  21. I always sort of like:
  22.     762939453125 * 137438429184 = 104857200000000000000000
  23. although
  24.     3814697265625 * 262144 = 1000000000000000000
  25. is also spectacular.
  26. -- 
  27. dik t. winter, cwi, kruislaan 413, 1098 sj  amsterdam, nederland, +31205924098
  28. home: bovenover 215, 1025 jn  amsterdam, nederland; http://www.cwi.nl/~dik/
  29.